import { createApp } from 'vue'
import { createPinia } from 'pinia'


//ant-design
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/reset.css';
import '@/assets/base.css';
import * as Icons from '@ant-design/icons-vue';

//vue
import App from './App.vue'
import router from './router'



const app = createApp(App)
app.use(createPinia())
app.use(Antd);
app.use(router)

// 注册所有图标
for (const i in Icons) {
    app.component(i, Icons[i]);
  }




app.mount('#app')

